package com.zhiyou.app.shop.manager.dao.pojo;

import java.util.Date;

/**
 * Comment entity. @author MyEclipse Persistence Tools
 */

public class Comment  extends BasePojo {

	// Fields
	private static final long serialVersionUID = 1L;
	private Goods goods;
	private UserDetail commentUser;
	private Date commentDate;
	private String text;

	// Constructors

	/** default constructor */
	public Comment() {
	}

	public Comment(Goods goods, UserDetail commentUser, Date commentDate,
			String text) {
		super();
		this.goods = goods;
		this.commentUser = commentUser;
		this.commentDate = commentDate;
		this.text = text;
	}


	// Property accessors

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public UserDetail getCommentUser() {
		return commentUser;
	}


	public void setCommentUser(UserDetail commentUser) {
		this.commentUser = commentUser;
	}


	public Date getCommentDate() {
		return this.commentDate;
	}

	public void setCommentDate(Date commentDate) {
		this.commentDate = commentDate;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

}